/**
 * The database package of the application.
 */
package fr.umlv.m2.android.quizz.database;

/**
 * This class defines the theme object.
 * 
 * @author Gambouele Bertrand.
 * @author Viravout Alexandre.
 */
public class Theme {
	/**
	 * The no theme theme index.
	 */
	public static final int NO_THEME = 0;
	
	/**
	 * The theme id.
	 */
	private long id;
	/**
	 * The theme name.
	 */
	private String name;
	/**
	 * The level of the theme.
	 */
	private long levelId;
	
	/**
	 * Create the theme object.
	 */
	public Theme() {}
	
	/**
	 * Create the theme object.
	 * 
	 * @param name the theme name.
	 */
	public Theme(String name, long level) {
		this.name = name;
		this.levelId = level;
	}
	
	/**
	 * Sets theme id.
	 * 
	 * @param id the theme id.
	 */
	public void setId(long id) {
		this.id = id;
	}
	
	/**
	 * Gets theme id.
	 * 
	 * @return the theme id.
	 */
	public long getId() {
		return this.id;
	}
	
	/**
	 * Sets theme name.
	 * 
	 * @param name the theme name.
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * Gets the theme name.
	 * 
	 * @return the theme name.
	 */
	public String getName() {
		return this.name;
	}
	
	/**
	 * Sets the theme level.
	 * 
	 * @param id the level id.
	 */
	public void setLevelId(long id) {
		this.levelId = id;
	}
	
	/**
	 * Gets the theme level.
	 * 
	 * @return the level id.
	 */
	public long getLevelId() {
		return this.levelId;
	}
}
